package PlaneGame.CODE;

public class ExitButton extends GameButton{
    public ExitButton(int width, int height, int x, int y, int imageNumber, String[] paths) {
        super(width, height, x, y, imageNumber, paths);
    }
    @Override
    void clickEffect() {
        System.exit(0);
    }
    @Override
    void releaseEffect() {

    }
    @Override
    void pressEffect() {

    }
    @Override
    void change() {

    }
}
